class HttpRequest {
  String? method;
  String? body;
  String? headers;
  String? charset;

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['method'] = method;
    map['body'] = body;
    map['headers'] = headers;
    map['charset'] = charset;
    return map;
  }

  HttpRequest.fromJson(dynamic json) {
    if (json != null) {
      method = json['method'];
      body = json['body'];
      headers = json['headers'];
      charset = json['charset'];
    }
  }
}
